package com.sanley.piss.model.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Create By  on 2021/3/2.
 * @author 张凯大天才
 */
@Data
@ApiModel(value = "用户角色关系表",description = "用户角色关系表表说明")
public class UserAndRoleRelation implements Serializable {
    private static final long serialVersionUID = 2805709597710251399L;
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "角色id")
    private Integer roleId;

    public UserAndRoleRelation(Integer userId, Integer roleId) {
        this.userId = userId;
        this.roleId = roleId;
    }
}
